<nz-collapseset nzAccordion>
  <nz-collapse *ngFor="let panel of panels" [nzTitle]="panel.name" class="collapse">
  <div nz-row>
    <div nz-col [nzSpan]="21">

        <p>{{panel.name}} 的内容</p>

    </div>
    <div nz-col [nzSpan]="1">
      <i (click)="showModal()" class="anticon anticon-plus-circle-o"></i>
    </div>
    <div nz-col [nzSpan]="1">
      <i class="anticon anticon-edit"></i>
    </div>
    <div nz-col [nzSpan]="1">
      <i class="anticon anticon-delete"></i>
    </div>
  </div>
  </nz-collapse>
</nz-collapseset>
<nz-modal [nzVisible]="isVisible" [nzTitle]="'添加策略'" [nzContent]="modalContent" (nzOnCancel)="handleCancel($event)" (nzOnOk)="handleOk($event)">
    <ng-template #modalContent>
      <form nz-form (ngSubmit)="submitForm()">
        <div nz-form-item nz-row>
          <div nz-form-label nz-col [nzSpan]="6">
            <label>策略名称</label>
          </div>
          <div nz-form-control nz-col [nzSpan]="14">
            <nz-input [nzPlaceHolder]="'策略名称'" [nzSize]="'large'">
            </nz-input>
          </div>
        </div>
        <div nz-form-item nz-row>
          <div nz-form-label nz-col [nzSpan]="6">
            <label>风险类型</label>
          </div>
          <div nz-form-control nz-col [nzSpan]="14">
            <nz-input [nzPlaceHolder]="'风险类型'" [nzSize]="'large'">
            </nz-input>
          </div>
        </div>
        <div nz-form-item nz-row>
          <div nz-form-label nz-col [nzSpan]="6">
            <label>策略模板</label>
          </div>
          <div nz-form-control nz-col [nzSpan]="14">
            <nz-input [nzPlaceHolder]="'策略模板'" [nzSize]="'large'">
            </nz-input>
          </div>
        </div>
        <div nz-form-item nz-row>
          <div nz-form-label nz-col [nzSpan]="6">
            <label>案件模式</label>
          </div>
          <div nz-form-control nz-col [nzSpan]="14">
            <nz-input [nzPlaceHolder]="'案件模式'" [nzSize]="'large'">
            </nz-input>
          </div>
        </div>
        <div nz-form-item nz-row>
          <div nz-form-label nz-col [nzSpan]="6">
            <label>匹配模式</label>
          </div>
          <div nz-form-control nz-col [nzSpan]="14">
            <nz-input [nzPlaceHolder]="'匹配模式'" [nzSize]="'large'">
            </nz-input>
          </div>
        </div>
        <div nz-form-item nz-row>
          <div nz-form-label nz-col [nzSpan]="6">
            <label>筛选字段</label>
          </div>
          <div nz-form-control nz-col [nzSpan]="14">
            <nz-input [nzPlaceHolder]="'筛选字段'" [nzSize]="'large'">
            </nz-input>
          </div>
        </div>
        <div nz-form-item nz-row>
          <div nz-form-label nz-col [nzSpan]="6">
            <label>策略描述</label>
          </div>
          <div nz-form-control nz-col [nzSpan]="14">
            <nz-input [nzRows]="2" [nzType]="'textarea'" [nzPlaceHolder]="'策略描述'" [nzSize]="'large'">
            </nz-input>
          </div>
        </div>
      </form>
    </ng-template>
</nz-modal>
